<?php

/**

 * Joomla! 1.5 component Folder Space Quota

 *

 * @version $Id: folderspacequota.php 2011-01-24 10:48:13 svn $

 * @author DoggyDams

 * @package Joomla

 * @subpackage Folder Space Quota

 * @license GNU/GPL

 *

 * Control used space of specific directory

 *

* @Copyright Copyright (C) 2010 - DoggyDamss
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html 


 *

 */



// no direct access

defined('_JEXEC') or die('Restricted access');



jimport( 'joomla.application.component.controller' );

require_once( JPATH_COMPONENT.DS.'helpers'.DS.'helper.php' );



/**

 * Add user Frontend Controller

 *

 * @package Joomla

 * @subpackage Add user Frontend

 */

class FolderspacequotaController extends JController {

    /**

     * Constructor

     * @access private

     * @subpackage Add user Frontend

     */

    function __construct() {

        //Get View

        if(JRequest::getCmd('view') == '') {

            JRequest::setVar('view', 'default');

        }

        $this->item_type = 'Default';
	

        if(JRequest::getCmd('view') == 'quota') {

            JRequest::setVar('view', 'quota');

        }

        $this->item_type = 'Quota';
	

        if(JRequest::getCmd('view') == 'list') {

            JRequest::setVar('view', 'list');

        }

        $this->item_type = 'List';

		
        parent::__construct();

    }

}

?>